<?php 
namespace Admin\Model;

use Think\Model;

class CategoryModel extends Model{
    
    protected $_validate = array(
        array('cat_name','require','栏目名称不能为空'),
        array('sort','number','排序必须填写整数'),
    );
    
}

?>